package week03.Component;

public class Decortor implements ComponentDec {
    private ComponentDec componentDec;
    public void Decortor(ComponentDec comp){
        this.componentDec=comp;
    }
    @Override
    public void simpleOperation() {
        //System.out.println("It's a concrete class!");
        System.out.println("ornament class");
    }
}
